package com.ctgu.springboot.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ctgu.springboot.entity.TraInfo;
import com.ctgu.springboot.entity.Word;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.context.annotation.Primary;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cs
 * @since 2023-07-06
 */
@Mapper
public interface WordMapper extends BaseMapper<Word> {
    IPage<Word> wordPage(IPage<Word> page, @Param(Constants.WRAPPER) Wrapper<Word> wrapper);

    IPage<Word> teacherwordPage(IPage<Word> page, @Param(Constants.WRAPPER) Wrapper<Word> wrapper);

    List<Word> getList();
}
